#ifndef OUTPUTMESSAGE_H
#define OUTPUTMESSAGE_H

#include <QObject>

#include "easylogging++.h"

enum MSG_TYPE
{
	MMG_INFO,
	MSG_ERROR
};

static void outPutMessage(const QString & strMsg, MSG_TYPE type = MMG_INFO)
{
	switch (type)
	{
	case MMG_INFO:
		LOG(INFO) << strMsg;
		break;

	case MSG_ERROR:
		LOG(ERROR) << strMsg;
		break;

	default:
		break;

	}

}


#endif // OUTPUTMESSAGE_H
